package com.gc.server.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.gc.server.dao.ActRecordDao;
import com.gc.server.entity.ActRecordEntity;
import com.gc.server.service.ActRecordService;
import com.yf.service.impl.BaseServiceImpl;

/**
 * 活动记录Service实现类
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Mar 10 11:17:44 CST 2020
 */
@Service
public class ActRecordServiceImpl extends BaseServiceImpl<ActRecordEntity> implements ActRecordService {

    private ActRecordDao actRecordDao;


    @Autowired
    public void setDao(ActRecordDao actRecordDao) {
        this.actRecordDao = actRecordDao;
        super.setBaseDao(actRecordDao);
    }


    /**
     *
     *   @Override
     *     public List<UserVo> queryListVo(UserVo userVo) {
     *         return userDao.queryListVo(userVo);
     *     }
     *
     *     @Override
     *     public UserVo getVo(Long id) {
     *         return userDao.getVo(id);
     *     }

     @Override
     List<ActRecordVo> queryListVo(ActRecordVo actRecordVo){
            return actRecordDao.queryListVo(actRecordVo);
     }

     @Override
     ActRecordVo getVo(Long id){
                return actRecordDao.getVo(id);
    }

     **/


    /**内部方法**/



    /**外部方法实现**/

    @Override
    public List<ActRecordEntity> findByToDo(Long toId) {
        return actRecordDao.findByToDo(toId);
    }
}
